export const tableOption = {
  border: true,
  selection: false,
  index: false,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  menuWidth: 200,
  align: 'center',
  refreshBtn: true,
  searchSize: 'mini',
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  props: {
    label: 'label',
    value: 'value'
  },
  column: [{
    label: '产品名字',
    prop: 'prodName',
    search: true
  },  {
    label: '产品图片',
    prop: 'pic',
    width: 300,
    type: 'img',
    dataType: 'string',
    slot: true,
  },{
    label: '商品原价',
    prop: 'oriPrice'
  }, {
    label: '商品现价',
    prop: 'price'
  }, 
  // {
  //   label: '商品库存',
  //   prop: 'totalStocks'
  // },
  {
    label: '产品销量',
    prop: 'soldNum'
  },{
    label: '设置热门',
    prop: 'isHotProd',
    slot: 'true'
  },

   {
    width: 150,
    label: '状态',
    prop: 'status',
    search: true,
    slot: true,
    type: 'select',
    dicData: [
      {
        label: '未上架',
        value: 0
      }, {
        label: '上架',
        value: 1
      }
    ]
  }]
}
